﻿using LPP.Entity.Statistic;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LPP.Core.Services
{
    public interface IStatisticService
    {
        Task<Statistic> GetStatisticAsync(string key);
        Task UpdateStatisticAsync(string key, int value);
        Task<List<Statistic>> GetAllStatisticsAsync();
    }
}
